package com.chenyongjing.design.pattern.builder.withoutdirector;

/**
 * 产品
 */
public class Product {
    /**
     * 第一个组成部分
     */
    private String firstProperty="默认第一部分";
    /**
     * 第二个组成部分
     */
    private String sencodProperty="默认第二部分";
    /**
     * 第三个组成部分
     */
    private String threeProperty="默认第三部分";
    /**
     * 第四个组成部分
     */
    private String fourProperty="默认第四部分";

    public String getFirstProperty() {
        return firstProperty;
    }

    public void setFirstProperty(String firstProperty) {
        this.firstProperty = firstProperty;
    }

    public String getSencodProperty() {
        return sencodProperty;
    }

    public void setSencodProperty(String sencodProperty) {
        this.sencodProperty = sencodProperty;
    }

    public String getThreeProperty() {
        return threeProperty;
    }

    public void setThreeProperty(String threeProperty) {
        this.threeProperty = threeProperty;
    }

    public String getFourProperty() {
        return fourProperty;
    }

    @Override
    public String toString() {
        return "Product{" +
                "firstProperty='" + firstProperty + '\'' +
                ", sencodProperty='" + sencodProperty + '\'' +
                ", threeProperty='" + threeProperty + '\'' +
                ", fourProperty='" + fourProperty + '\'' +
                '}';
    }

    public void setFourProperty(String fourProperty) {
        this.fourProperty = fourProperty;
    }
}
